Fixed a bug where browser opened on pressing the back button after login