facebook login basic,needs refactoring