design error when logged out solved