added better handling in case the accessToken expires or user removed granted access to the app