added 404 handling

facebook api is now a property of the ApplicationController