frog server and client working