routes for user activity function