dashboard logout fix