Made a logout in the success page