Basic button functionality

Added back button functionality