so I have a bean that gives a access token to API to access any requests. But I need to create different application which checks if token is available and you can proceed f