fixed server side issues

added packethandlers