added the sessions helper method to the application controller and added the skip before action method