fixed api stuff
attending button
added functionality to user and event
added functionality
edited main.js