facebook signup and login flow handling