first goal: Communication between server, web client and iOS client