added support for facebook authentication