add new record form
add functions to add new record