support for callback on popup mode and chance getProfile signature
1.6.0