adds ability to add custom logout / error page.

renames callback url