add rate to view and refactor addMovie method