Add support for passing role and user_id parameters to request

This avoids having some dangerous hacks inside of our base handler
Remove dangerous debug lines