def movie_listuser(): return query.querydatabase( "MOVIES", "listforuser.html") + "<br><br><a href='/logout'>Logout</a><br>"
def movie_listuser(uid): session["uid"] = uid return query.querydatabase( "MOVIES", "listforuser.html" ) + "<br><br><a href='http://127.0.0.1:5001/login'>Logout</a><br>"
def movie_list(): return query.querydatabase( "MOVIES", "movietable.html" ) + "<br><a href='/addmovie' >Add movie</a><br>" + "<br><a href='/logout'>Logout</a><br>"
def users_list(): return query.querydatabase("users", "usertable.html")