Added simple sanitation for device. Only alphanumerical values and whitespaces allowed in username and extra commata in chat status and chatname.