Add Backend API to chat app