added validation for tablet id on the server side