Made progress on the Facebook login and logout functionality. What a bitch!