adding init and login functionalities for facebook