fixed user graph creation error
added submit button to webpage