Security changes. In this revision there are changes for doctrine and th...

Security changes. In this revision there are changes for doctrine and the validation of data that the user enters into the system
should'nt this be 'q.name' instead of 'q.oid'?