finalized Client for now, still an error left on server site