User registration and management library using MongoEngine