added comments; added modifyUser function