different login flow
use a stub rather than a function so it works with git, sudoedit etc