trying to fix login error