Inits login page and home page