fixed issue with edit not showing up when logged in