fixed string format error
basic database insert on form submit
improved inline comments