Simple su implementation

This is a very simple su implementation, adds a switch-user that
expects a handler and a function that returns the new user based
on the request