mods to handeling password