finished login form validation