add facebook, add view functions