Added GET & POST requests to routes.