Added login form and made a login post request to the services.