Added a test function to fb_login