Fixed project user de-attach.
Fixed project user role change and small fix to error handling.