Updated the main page before login