fixed login upvote issue