login for partners
fix the right error when imp fails