'Return all notes for the user.'

def _collection(self):

    user = self.get_params.get('user', None)
    page = int(self.get_params.get('page', 1))
    page_size = int(self.get_params.get('page_size', 2))
    notes = self.server.get_all_notes()
    if (user is None):
        self.send_response(400, content='Bad    Request')
        return
    notes = self._get_paginated_response(notes, page, page_size)
    self.respond(content=notes)
