refactored from using weird user stuff to using settings class