lenght check for the password field