updated login to reference updated backend structure