dashboard logout fixed