Business logic for user registration