adding a check for if the NSUserDefault accessToken is set