How to collect user details with form submissions