Initial user registration and authentication