Added validation for username length and password length in sign up form