Improve styling and add recent activity function for homepage and user page