messages.py updated finally working(again)