Added login function (only facebook)