fix bug in fetching recent activities of a user
refactor, move mode that fetch profile's recent activity into the User model