Shruthi, Banka | Wrapping login username, password, location in an object instead of directly setting on scope.