refactored the 'recent_activity_cost' application helper method
moved method 'users_current_payment_period' to the Payment model
refactored payment model