Add login and password length validate