Required to be logged in to access some pages
Added edit post functionality
Delete post function added