got the login form front end working