Formatting and escape user data