added GET requests for / and /:id