Allow for get and post on Apollo object to share routes, and added error handling for the listener