Start writing function for send ajax query with user data