collecting data before connecting to Wifi

collecting data before connecting to Wifi

I have a client who owns a cafe and is looking to get customers to log in and create accounts before connecting to her wifi. What is the best way of doing this?