Remove unused hook, and fix indentions.
Add option to set delay and use of a dialog with content on redirect login.