Working on Client side and Resource Server