User model added with helper functions and schema.