Added username validation for login form