ticket:2 implementation without tests
ticket:2 fixed error
ticket:2 fixed some behaviors
ticket:2 Merge branch 't2_facebook_authentication'