Removed old code in user models file; Refactored obtain_class_list method