Added a method in application controller to determine the companytoevent in case of sessions existing for both event and company.