updated success callback in setup function
fixed error, missing end in the notes controller - all working.
added editing functions to name and email