made facebook login, but doesn't work with kris's original code