added intents to switch activities