Added frontend and backend validation for unassigning an user