added rails-api
in memory db, request: create event, and get events for particular user