removed environmental conditional to repair log out function