Hooked up frontend to NoteModel REST API