edit button hidden if not logged in