modal for logged out users working