added handlers for some basic commands from server