Commiting before login forms happen