Added login and signup code