change server to listen to post, delete get request for terminal_chat app