fixed minor login error