added some endpoints for message and notifications