add logged in flags