(BY: mark) making changes to user model file
(BY: mark) This new feature function is developed by mark