completes signup and login for user