fixed user api
added message serializer