Implements access control for user statistics page