fixing fb auth & adding docs to base template