fixed bug of edit and delete showing up while not logged in and switch to simple format text for contents