Fixed SaveSharedPreferences to provide username