script for store user information in mysql database