display view button when logged out