Set up authenticated routes and redirect to login page if user is not logged in.