input form data to DB