make sure user is logged in to take notes