added admin, events, permissions, bug fixes