User model must export a object with methods instead functions