Fixing Settings Page and Starting DB Queries