completed sign up functionality