added conditional statement to controller for movies