Added login/app controller