model with schema created for a user document