hide/show edit button based on isAdmin