Move stateless variables outside the AuthenticatedComponent class
The authsome
and failRedirect
variables won't change, so only need to be initialised once.
The authsome
and failRedirect
variables won't change, so only need to be initialised once.