Fixed a bug where browser opened on pressing the back button after login, removed some unnecessary imports & logging code.