added login mask