Variable is db
struct for specific rrd interrogation
Put auth in is own function
Put login in is own function