API service for movie/user endpoints.
Material dialog service for info dialogs.
Snackbar for user feedback.
Router for auth redirects and logout.
Set of favorited movie IDs for quick checks.
API service for movie/user endpoints.
Full list of movies for display.
Username of the currently logged in user (from localStorage).
Fetch all movies from the API for display.
Replace broken poster images with a placeholder.
Browser image error event.
Check if a movie ID is currently favorited.
Movie ObjectId.
Logout session and navigate back to the welcome page.
Initialize the page:
Open the Director details dialog for a movie.
Open the Genre details dialog for a movie.
Open the Synopsis dialog for a movie.
Toggle favorite state for a given movie.
Movie object from the list.
Movies page that lists all movies and lets the user view details (genre, director, synopsis) and toggle favorites.