added logout to admin panel