remove getUserNumCredits from routes.rb