changed notes route to avoid using query params