Implementing Facebook login and other improvements