server now responds to posts from the front end