Redirect unauthenticated users to login page when trying to access private collections.