Added login with password functionality