hide edit button if user is not logged in