Fixed sign out bug.