close if in store_token
Add message when authorization code is not valid