Added exception catching in application controller for no user session