added controller extensions for getting views