add method to respond to logged_in & graph_selected