edited events controller to have actions that only return separate json objects for created,invited, and attending
fixed json object in index