fixes part 5

fixed the newest method in the attraction model
can now get the newest attraction.
the main controller  now has the right parameters as well