Restrict access to registered users only

i discovered peertube a couple of days ago and i’m trying to understand if it may fit my requirements.

the first thing i’ll have to fix is to only show the login page to non registered users. i set login as the default landing page but i haven’t found yet a way to restrict the access to all of the other pages: would it be possible and/or very difficult to write a plugin for this?

many thanks!