Login modal is semi-functional now, with error messages supported.