fix login forms. Thanks Esprit