assert that user is actually logged in after calling login() in a functional test
renamed main.html to app.html