Make login and logout urls be configurable