cleaned variable declarations in contact
cleaned up variable declarations in user
cleaned variable declarations in submission
a number of bug fixes