authentication and user creation working