Minor refactor of the Facebook user authentication