Fix method call on login page