link api from web interface, make single note fetching work, redo note storage username