added support for user switching

you can switch users in packages and actions using the method

as “username”

This will create a secondary connection as the specified user and
execute commands through that.