Facebook login and other improvements