provide a way to user the callback system with the login dialog