created master and details view functionality for non-admin user