log in the user after signing up