edit pencil is in; modal doesn't show though
modal for register works

now to add the values to edit
added amRegistered function