Added last views, fixed permissions and ID bug - ready for API