Refactor style of login page. Added form validator