Server side api that receives messages and serves data to the website