some nil checks in loggedin/da checks