Save user to cookie and load notes from user APIkey