sign up functionality fixed