added client-side empty fields check for login form. https://github.com/WISE-Community/WISE/issues/372