added create, del and update functionality to entries.js
Added  get, post, del and put requests to router