Add validation for login form. And implement submit for login form by Enter