createLoginURL and createLogoutURL