Added separate view page and only logged in users can edit