Added a facebook login and register workflow.