sign-up and authentication working