Made permission detection dynamic. (Prints admin navbar or faculty navbar based on current user)