Changed login and logout urls to match server