user login and upvotes table