server app first implementation