Use shared preferences to store login settings