settings database model added and site now used custom theme for logged in users