Storing and retreiving user settings from firebase