added support for a bouncer function - this function checks if the user is authorized to access a certain resource