Added login required to the app, horribly ugly though.