schema and user resource
helpers