Rest API fully working with ember