various facebook login bugfixes
removed test code