fixed logout bug andd prepared admincp page #3