Include application_controller before using ApplicationContoller.

Otherwise controller is not found message displayed.