How can I load user app settings from the database only once?