add login form and validation