Re-organized postForm code.
Added session storage so sessions will be stored in MongoDB