Add before action to require login in application.