Login form frontend validation added
Auth token now stored in cookie.