unless statement is bugging on on events index.html - the ajax doesn't rerender that part, so it's not working if there are no events. took it out for now