Added check for admin before display function

Added an if statement in the display() function that checks if a user is a signed in admin before displaying the data.