The login and main page is finished