Adding shared preferences

Using shared preferences to restore the last used email.