added some validation conditions to the username field