Store token in user defaults. Handle invalid token on api requests.