Added input sanitization in frontend html