Added the activity page and logic