Added sign up and login functionality