Add endpoint for user registration