Refactored Album model to include class variable current_user which allows Album methods access to the currently logged in user. Also refactored purchased/unpurchased track methods to eliminate duplicate code and use the new current_user class variable.