Update the favorites module to handle authentication for route states