Moved string into resources file.
Made some superficial readability changes
Added unique field validation