Fixed database problem with duplicate usernames. Handling basic HTML tag removal with built-in PHP functionality.