added a mainview controller and authentication hooks
removed events property from the bssession object