debug login and cors 7