add open Share dialog event for Gallery
fix FB, TW authentication login failure
fix redirect to missing page when login is successful