Added sharedpreferences to save user information