add function of login using fb, return json format, have to promote