added handling of back button on welcome page