creation of an user class, so the sharedpreferences are in only one place

beginning of history