Added sign up and authentication code