Added error handling so that users can not be assigned twice to a client