Replaced handlers in server.py