added logout for admin(when press back button)