add a back method for chatactivity