fixed issue with Security class that was failing because test was no configured to correctly test data retrieved from database.
Update test and main file and all pass.