random string not inserting to database.