fixed strict error
moved basic client validation to the client service