fix account registration and Facebook binding