authentication based changes and total row to view table