add application controller helper methods