fixed the views page, added security and what not