Added functionality for displaying permissions