Reimplemented login field into custom component that utilizes modals