Database connection added
Settings function working