updated views to remove _id and fixed ca cpntroller