adding router to handle only [GET and POST] requests for our server