added spring security login, form data validation & error messages