added rails api for ember to communicate with in order to store and retrieve data