insert user data and userinfo into mysql db