added functionality to sign up as well as login with newly created users