Fixed case insensitivity issues on user registration