Adding both get & post for /logout.