add login form and form validator