remove unnecessary ! is logged in check. #1724