updated prototype with facebook login