fix login message key and change alert order