Create check_user_activity.rb