fixed console login issue