Adding escape function ( for sanitization ) wherever needed