Added logic to check for access token on launch