Added connection to db & methods for the 5 options