Clean up main page and login form