ticket:2 Changed logic of authentication with facebook.
ticket:2
Merge branch 't2_Authenticate_with_Facebook'