Created controller methods for contacts and favorites