Added username field to user registration