added support for Facebook login and push notifications