Updated canView() added the config array
accessDenied updated and now returns a correct string
putInJail has been added