Added the view authorization, but the views themselves are not implemented yet. cud needs checking again