fixed tests so sessions should now work, starting writing helpers, tweaked new form
added edit view, #edit added in previous commit