added access control on details view
updated access control on details view