move user schema to $user.schema