During fresh boot up or an factory reset, the user should associate with R-Pi G/W network
Wi-Fi Access point broadcasting in client mobile
Then in the client pc/ mobile, If the user tries to access any website url or webui then the browser will have the captive portal page redirected as shown below