changed method on forms for regular logins