"adding new function to the server for getting the notes on startup"