fix form bug being unable to submit data successfully
basic session functionality