adds sign up functionality