Added login form and method