finished login, started login submit and the main page