* refactor: remove the lowercasing in the query for login conflict * refactor: move function into the closure gs