Fixed bug when no access token was provided