got rid of class errors and trying to fix facebook login