edit user + get departments