Added loginform to the client