finished adding the assing-user functionality