Implement persistent user registration with credentials and via Facebook