Useless echo removed.
Main goal updated.
Rights added.
Unused file removed.
Field check added.
Unused code commented.