changed login form method to get