Use play.Application as a type for constructor's argument because this is what is passed
Fix refference to views: should be views.html.custom, not view.custom.html
Implements getNotAuthorizedPage for MyViews