optimized url structure for login/logout