creating UserSettings case class and implementing saving and loading from settings page