Added the equivalent of controller logic and methods for non-admin views