fix configuration and add login logout urls