created RESTful routes and event params for events controller