Added security against sql injections for inserting users into the database