added favorites controller method, route, and added foreign_key to the contacts table