update for inappbrowser close and update view for login