login and signup errors fixed