Server app works just like client app