Refactor facebook auth into new file. (#23)