add reroute to ('/') if currentUser does not have access to the page