disabled edit button if not logged in