Unable to log out admin at times