logout is now working