refactored client, and extracted the 'user' class; starting resteasy services;