Changed @user.activities_for to use challenge.period