When signing out check the next param if exist