Added admin pages for events and clean SQL file + other fixes