fixing authentication forms