(messily) worked on ui. to-do: recombine layouts, use partials for headers (logged in or out, viewing a note or note).