fixed login authentication

by modyfing fb.init