getting fb register to work